<!DOCTYPE html>
<html style="overflow: hidden;">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">
    <link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= VUE_APP_TITLE %></title>
    <script>
        (function (doc, win) {
            var docEl = doc.documentElement,
                resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
                recalc = function () {
                    var clientWidth = docEl.clientWidth;
                    if (!clientWidth) return;
                    if (clientWidth >= 1910) {
                        docEl.style.fontSize = '100px';
                    } else {
                        let designSize = 1920; // 设计图尺寸
                        let html = document.documentElement;
                        let wW = html.clientWidth;// 窗口宽度
                        let rem = wW * 100 / designSize;
                        document.documentElement.style.fontSize = rem+12 + 'px';
                        // docEl.style.fontSize = '71.14583333px';
                    }
                };
            //  console.log(docEl.style.fontSize)
            if (!doc.addEventListener) return;
            win.addEventListener(resizeEvt, recalc, false);
            doc.addEventListener('DOMContentLoaded', recalc, false);
        })(document, window);
    </script>
</head>
<body>
<noscript>
    <strong>
        请开启 JavaScript 功能来使用 <%= VUE_APP_TITLE %>。
    </strong>
</noscript>
<div id="app">

</div>
<script src="https://zhny.hn.sgcc.com.cn:20019/baidumap/jsapi/api.js"></script>
 <script src="https://api.map.baidu.com/api?v=3.0&ak=yewN169efpKa3N5LWWKkcCal1FfmmtcG&s=1&callback=onBMapCallback"></script>
<script src="static/baiduMap/TextIconOverlay_min.js"></script>
<script src="static/baiduMap/MarkerClusterer_min.js"></script>
</body>
</html>
